<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript" src="../org/angular.min.js" ></script>
	</head>
	<body>
		<div ng-app="hd" ng-controller="ctrl">
			game:
			<input type="checkbox" ng-model='data.game' ng-true-value='1' ng-false-value='0' />
			video:
			<input type="checkbox" ng-model="data.video" ng-true-value='1' ng-false-value='0'/>
			{{data}}
			<div ng-show="data.game==1">game</div>
			<div ng-show="data.video==1">video</div>
		</div>
		<script>
			var a =angular.module('hd',[]);
			a.controller('ctrl',['$scope',function($scope){
				$scope.data = {game:0,video:0};
			}])
		</script>
	</body>
</html>
